home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17827 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  5.6 KB

  1. Path: mail2news.demon.co.uk!oxigen.demon.co.uk
  2. From: Dirk Wessels <dirk@oxigen.demon.co.uk>
  3. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  4. Subject: Re: Why C and C++ became widely used
  5. Date: Tue, 16 Apr 96 21:19:47 GMT
  6. Organization: O2
  7. Message-ID: <829689587snz@oxigen.demon.co.uk>
  8. References: <31682FFE.2781E494@bbn.com> <DpJyGG.FKK@hkuxb.hku.hk> <denatale-1004960822260001@grail1506.nando.net> <dbell-1104960125190001@wholder2.cts.com> <316E856F.47DB@viewsoft.com> <3172CB1E.2642@netscape.com>
  9. Reply-To: dirk@oxigen.demon.co.uk
  10. X-NNTP-Posting-Host: oxigen.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.30
  12. X-Mail2News-Path: oxigen.demon.co.uk
  13.  
  14. In article <3172CB1E.2642@netscape.com> dc@netscape.com "David Christie" writes:
  15.  
  16. > Alex Katz wrote:
  17. > > 
  18. > > I think any advantages of Java over C++, real or imagined, do not necessarily
  19. > > mean that it will begin to displace C++, unless those advantages address
  20. > > directly the reasons that C and C++, unlike the vast preponderance of newly
  21. > > developed languages, became widely used. And I do not see this thread
  22. >  addressing
  23. > > those reasons.
  24. > > 
  25. > > Alex
  26. > In priority order:
  27. > 1.      Portability.  (Standard language definition.)
  28. -- only valid for C or the supposingly next generation C++ compilers.
  29. -- some platforms crash better than others
  30. -- compilers have their own libraries.
  31.  
  32.  
  33. > 2.      Portability.  (Wide availability on all platforms, early.)
  34. -- All UNIX platforms ofcourse.
  35. -- I have not seen any C++ compatability among MS-Windows yet!
  36.    (of course MS keeps changing their standard as well)
  37.  
  38. > 3.      Portability.  (Just high level enough that you can write programs that
  39. >                        run on different machine architectures without
  40. >  sacrificing
  41. >                        performance; as low-level a portable language as
  42. >  possible.)
  43.  
  44. --Only valid for micro-processor that are optimised for C, and old compilers.
  45. --The newest compilers convert all the low-level bits to high-level code,
  46.   and than perform general optimisations. (optional for some compilers)
  47.   Did you ever try to use the register key-word.
  48. --portability only valid among 32 bit computers
  49.  
  50. > All other reasons pale by comparison.
  51. > For Java, this is still number 1, 2, and 3, but there may be others:
  52.  
  53. (( I thought we were talking about C/C++, which is not Java))
  54. (( I think everybody agrees with that, otherwise we will have to include
  55.    many other C syntax languages: tcl, perl ))
  56. -- why do you think the above stuff is valid for JAVA
  57.   JAVA does not run under DOS or MSWindows?
  58. -- microprocessors are not optimised for JAVA, but for C.
  59. -- if there are more providers, the portability will stop very soon.
  60.    (MS: ever tried Visual Basic 3 on Visual Basic 4).
  61. -- Java is not a Standard (if MS gets his hands on it, it may never be).
  62. -- Java has a 32 bit VM-code. In the near future INTERNET will go to
  63.    128 bits! Computers will carry more than 4 Gigabyte addressing-space.
  64.    Possibly they will provide conversion utilities, but with for example
  65.    Smalltalk there will be no change.
  66.  
  67. > 4.      Self-delivering over the web.
  68.  
  69. -- just like Smalltalk now.
  70. -- and there is not that much advantage with that, except that people
  71.    have to keep paying to get rid of the latest bugs in the latest
  72.    features.
  73. -- does it include distributed garbage-collection, distributed processing
  74.    saveties, run-time maintainance.
  75.  
  76. > 5.      Anti-virus security.
  77. >
  78. -- I thought you just said "Self-delivering", if anything works like
  79.    that, it may be a virus. Virusses can be very subtile, like the
  80.    MS-Word virus.
  81. -- I just read the advice to run all applets in a separate user environment
  82.    and why does nobody do that.
  83. -- Is incompatability not a anti-virus security, used for Unix for a long
  84.    time.
  85. -- I look forward to hack into future JAVA mainframes, and let them-selves
  86.    figure out the password that I am looking for.
  87.  
  88. > Note that for Java, "portability" means something more than it did for C and
  89. >  C++.  
  90. > In the context of the web, "portability" means running on any web client, not
  91. >  just 
  92. > on any operating system or hardware platform.  C and C++ are no longer portable > enough, as well as not satisfying (4) and (5).
  93. >
  94.  
  95. I think there is too much hype. Java is a nice replacement for C++,
  96. but it is not much better than Objective-C.
  97.  
  98. And why did Objective-C never gain much popularity?
  99. I think this all has a lot to do with marketing and the just
  100. risen Internet-hype.
  101. History also repeats itself. About ten years ago, every computer had
  102. some kind of BASIC on it. That was the standard, everybody used it
  103. then, and you could actually display graphics on your ZX-Spectrum
  104. The same would also work on the PC... everywhere. Even the mainframes
  105. could work with that.
  106. If we had HTML browsers, we would surely have had BASIC in them.
  107. Now, only VB seems to have survived...
  108. As time goes on everything changes, just face it. Java is now
  109. promoted as the BASIC of the internet, and I think it has a reasonable
  110. chance of becoming it, but does that make any big change?
  111.  
  112. We still have to solve problems in what-ever language. And for some
  113. problems one language is better than the other, that is the reason
  114. that there are so many. Fortran is still being used, as is C, Forth,
  115. Assembler, as is Basic.
  116.  
  117. Java can be reasonable distributed, but does not have half the dynamics
  118. of many other OO languages, like Smalltalk, Self, LISP,  ...
  119. and possibly many more.
  120. More dynamics, means easier to adapt to a changing environment.
  121. And if you say, they won't change, than whay are you promoting JAVA in
  122. the first place?
  123.  
  124.  
  125.  
  126.  
  127. -- 
  128. Dirk Wessels
  129.  
  130. e-mail: dirk@oxigen.demon.co.uk
  131. OOA/ OOD/ Delphi/ Smalltalk/ C++/ CPU-design/ Maths/ Physics
  132. ---CENSORED---
  133. <lines removed>
  134.